Skip to content

SubpagesWithSummaries should avoid broken anchors and self links #197

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Josh-Cena opened this issue Apr 20, 2025 · 0 comments
Open

SubpagesWithSummaries should avoid broken anchors and self links #197

Josh-Cena opened this issue Apr 20, 2025 · 0 comments
Labels
needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened.

Comments

@Josh-Cena
Copy link
Member

Josh-Cena commented Apr 20, 2025

What information was incorrect, unhelpful, or incomplete?

Take a look at https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes. For the aria-label entry, the link to "prohibit naming" is broken because it's #associated_roles, where the anchor is valid on the aria-label page but invalid when transcluded.

Also, if the link points to the landing page, then it would be rendered as a self-link

What did you expect to see?

When transcluding content, anchors should be expanded to full paths to make them stay valid. Self-links should be removed.

Do you have any supporting links, references, or citations?

No response

Do you have anything more you want to share?

No response

@Josh-Cena Josh-Cena added the needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. label Apr 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened.
Projects
None yet
Development

No branches or pull requests

1 participant